-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add ucontext_t and {get,set,make,swap}context for powerpc64-linux (cont.) #4696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you for getting this over the line!
The error looks like something from the old ctest that we recently replaced, so hopefully it should go away with a rebase.
40af55e
to
b6cf286
Compare
It looks like the new ctest doesn't like type aliases to arrays. You can ignore the type for now in libc-test/build.rs, otherwise I'll try to figure out how to fix things. (Cc @mbyx) |
According to the docs for |
Head branch was pushed to by a user without write access
5acdc1a
to
8835f23
Compare
After rebasing, this patch passes CI successfully on a local powerpc64 Linux machine and the checks here, except for nightly freebsd-13 x86_64, which appears unrelated. |
@tgross35 Is there anything I need to do before the PR can be merged? Thanks! |
Description
This continues the PR Add ucontext_t and {get,set,make,swap}context for powerpc64-linux for adding
ucontext_t
,mcontext_t
, and related structures and functions.Relevant header files:
ucontext_t
andmcontext_t
- https://github.com/bminor/glibc/blob/a6eb8285d9bfb7ec0875b85ca356e833ff964d4f/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h#L155-L196pt_regs
- https://github.com/torvalds/linux/blob/master/arch/powerpc/include/uapi/asm/ptrace.hclone_args
- https://github.com/torvalds/linux/blob/f83ec76bf285bea5727f478a68b894f5543ca76e/include/uapi/linux/sched.h#L92{get,set,make,swap}context
- https://github.com/bminor/glibc/blob/a6eb8285d9bfb7ec0875b85ca356e833ff964d4f/stdlib/ucontext.h#L34-L52Closes: #3986
Sources
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI
The test failed with the following errors, which do not seem to be related to the changes in this PR.